tutorial13/union.h
/* * Accord Software, Inc. * * Tutorial 13 * */ #define UNION_PROGNUM 0x20000000 + 13 #define UNION_VERSNUM 1 union foo { int ival; short sval; long lval; char *pval; float dval; }; struct primitives { int utype; union foo u; };